package com.hui.service;

import com.github.pagehelper.PageInfo;
import com.hui.dto.*;
import com.hui.entity.AssetsBorrow;
import com.hui.entity.Club;
import com.hui.excel.ClubExcel;
import com.hui.vo.ClubVO;
import org.springframework.cache.annotation.CacheEvict;

import java.util.List;

public interface ClubService {
    int insert(ClubInsertDTO dto);

    Club select(Long id);

    List<ClubVO> list();

    PageInfo<Club> page(ClubPageDTO dto);

    int update(ClubUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);

    List<ClubExcel> getExcelData();

    int endClub(Long id);
}
